package com.luomo.java.spring.circulardepend.setinjection;

import org.springframework.stereotype.Component;

/**
 * @author LiuMei
 * @date 2020-12-30.
 */
@Component
public class ServiceBB {

    private ServiceAA serviceAA;

    public void setServiceAA(ServiceAA serviceAA) {
        this.serviceAA = serviceAA;
        System.out.println("B设置A");
    }
}
